package com.sanjiayi.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel("同城查询参数")
public class NearbyUserDTO {
    @ApiModelProperty("用户ID")
    private Integer userId;

    @ApiModelProperty("纬度")
    private Double latitude;

    @ApiModelProperty("经度")
    private Double longitude;

    @ApiModelProperty("省份")
    private String province;

    @ApiModelProperty("城市")
    private String city;

    @ApiModelProperty("区县")
    private String district;

    @ApiModelProperty("性别：0-未知，1-男，2-女")
    private Integer gender;

    @ApiModelProperty("最小年龄")
    private Integer minAge;

    @ApiModelProperty("最大年龄")
    private Integer maxAge;

    @ApiModelProperty("最大距离（公里）")
    private Double maxDistance = 5.0;

    @ApiModelProperty("分页起始位置")
    private Integer offset = 0;

    @ApiModelProperty("每页大小")
    private Integer limit = 20;
} 